package com.ht.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ht.domain.po.TbDoctor;
import com.ht.domain.po.TbKnowledge;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 知识表持久层
 */
@Mapper
@Repository
public interface KnowledgeMapper extends BaseMapper<TbKnowledge> {
    List<TbDoctor> findDoctorListByKnowledgeId(@Param("knowledgeId") Long knowledgeId,@Param("cityId") Long cityId,@Param("levelId") Long levelId,@Param("hospitalGrade") Integer hospitalGrade,@Param("departmentId") Long departmentId);
}
